package com.demo.model;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import lombok.Data;

import java.util.Map;

@Data
public class CovidForm {

    private String result;

    public Map<String, Object> toMap() {
        return JSON.parseObject(JSON.toJSONString(this), new TypeReference<>() {});
    }
}
